package com.bussiness.domain;

import org.postgis.Point;

public class Location {
	private Long id;
	private float lat; 
	private float lon; 
	private Point geo;
	
	
	public Location(Float lat, Float lon) {
		this.lat = lat;
		this.lon = lon;
		geo = new Point(lat,lon) ;
	}


	public float getLat() {
		return lat;
	}


	public void setLat(Long lat) {
		this.lat = lat;
	}


	public float getLon() {
		return lon;
	}


	public void setLon(Long lon) {
		this.lon = lon;
	}


	public Point getGeo() {
		return geo;
	}


	public void setGeo(Point geo) {
		this.geo = geo;
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}

}
